LEADTOOLS Medical (Leadtools.Medical.Caching assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.25
Insert(String,Byte[],CacheItemPriority,String) Method
See Also 
Leadtools.Medical.Caching.Storage Namespace > IStorageProvider Interface > Insert Method : Insert(String,Byte[],CacheItemPriority,String) Method



Id
A System.String that identifies the item to be stored.
data
The an array of System.Byte to be inserted as the item information.
priority
The precedence of the stored item relative to other items stored, check the System.Web.Caching.CacheItemPriority enumeration.
dependency
A path to a file that is related to the inserted item, when this item is deleted this dependency file will also be deleted.

The Insert(String,Byte[],CacheItemPriority,String) Method is available as an add-on to the LEADTOOLS Medical Imaging toolkits.

Id
A System.String that identifies the item to be stored.
data
The an array of System.Byte to be inserted as the item information.
priority
The precedence of the stored item relative to other items stored, check the System.Web.Caching.CacheItemPriority enumeration.
dependency
A path to a file that is related to the inserted item, when this item is deleted this dependency file will also be deleted.
Adds a new item into the user context store.

Syntax

Visual Basic (Declaration) 
Overloads Sub Insert( _
   ByVal Id As String, _
   ByVal data() As Byte, _
   ByVal priority As CacheItemPriority, _
   ByVal dependency As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As IStorageProvider
Dim Id As String
Dim data() As Byte
Dim priority As CacheItemPriority
Dim dependency As String
 
instance.Insert(Id, data, priority, dependency)
C# 
void Insert( 
   string Id,
   byte[] data,
   CacheItemPriority priority,
   string dependency
)
C++/CLI 
void Insert( 
   String^ Id,
   array<byte>^ data,
   CacheItemPriority priority,
   String^ dependency
) 

Parameters

Id
A System.String that identifies the item to be stored.
data
The an array of System.Byte to be inserted as the item information.
priority
The precedence of the stored item relative to other items stored, check the System.Web.Caching.CacheItemPriority enumeration.
dependency
A path to a file that is related to the inserted item, when this item is deleted this dependency file will also be deleted.

Requirements

Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also